約 4,411,963 件
https://w.atwiki.jp/bplib/pages/1103.html
調理 public activity 作成日 2008/05/05 22 09 39 更新日 2008/05/05 22 09 45 プロジェクト 作者 bpml.org バージョン 1.0 フェーズ 1.0 状態 設計中 複雑度 簡単 追加情報 GUID {238C6B54-9CDE-4f89-9998-8B68EAE04595} ダイアグラム 弁当作成 フロー ターゲット フロー ソース タグ付き値 追加プロパティ 要素 名前 トッピング Activity «SequenceFlow» 詳細 要素 名前 下処理 Activity «SequenceFlow» 詳細 タグ 値 詳細 ActivityType Task Values Task,Sub-Process Default Task AdHoc false Values true,false Default false AdHocOrdering Parallel Values Sequential,Parallel Default Parallel Implementation Unspecified Values Other,Web Service,Unspecified Default Unspecified Instantiate false Values true,false Default false IsATransaction false Values true,false Default false IsCompensation false Values true,false Default false LoopTestTime After Values Before,After Default After LoopType None Values None,Standard,MultiInstance Default None MI_FlowCondition All Values None,All,One,Complex Default All MI_Ordering Sequential Values Sequential,Parallel Default Sequential StartQuantity 1 Default 1 Status None Values None,Active,Ready,Aborting,Cancelled,Aborted,Completing,Completed Default None SubProcessType Embedded Values Embedded,Independent,Reference Default Embedded TaskType None Values Service,Receive,Send,Script,User,Manual,Reference,None Default None プロパティ 値 isReadOnly false 名前 コメント
https://w.atwiki.jp/dragonblastbugreport/pages/20.html
詳細 体験版がVer17からアップデートできず、 タイトル画面がバグったりチャットが使えない等の不具合が発生する 報告者への質問や、追加情報がある場合などはこちらにコメントしてください。 名前 コメント
https://w.atwiki.jp/yychr/pages/29.html
オプション→設定で表示される設定画面の設定値と、 その設定値を変更したときにどのような効果があるのかを変更前:変更後の画面の画像で説明します。 Path RomPath [default ] ROMファイルを開くダイアログの初期ディレクトリを設定する。 開くダイアログの初期ディレクトリを指定します。 エミュレータのROMディレクトリを指定したい場合などに設定します。 設定しない場合、前回選択した場所など(不確定)になります。 ExtPath [default ] 追加ファイル(テンプレートファイル)を開くダイアログの初期ディレクトリを設定する。 StatePath [default ] セーブステートファイルを開くダイアログの初期ディレクトリを設定する。 開くダイアログの初期ディレクトリを指定します。 エミュレータのセーブステートのディレクトリを指定したい場合などに設定します。 設定しない場合、前回選択した場所など(不確定)になります。 BmpPath [default ] 画像ファイルを開くダイアログの初期ディレクトリを設定する。 BmpSaveDirType [default 1] BMPファイルのデフォルトの保存先ディレクトリの決定方法を設定する。 保存ダイアログの初期ディレクトリを指定します。 開いたファイルと同じ場所、または設定の画像ファイルのディレクトリ(BmpPath)のどちらを優先するかを設定します。 File SmallFileSaveSize [default 0] バンク1画面より小さなサイズのROMファイルを保存するとき、ROMのサイズを変更する。 バンク(左側の128x128)の半分のサイズなど、小さなファイルを保存するときに、どのようなサイズで保存するかをしていします。 元のファイルサイズ、1バンク分に拡張などが選べます。 SaveClearUndoBuffer [default True] ROMファイルを保存するとき、アンドゥバッファをクリアする。 DefaultImageType [default 0] 画像ファイルを開く/保存するダイアログを表示するときのデフォルトの画像形式を設定する。 LoadImagePaletteOnChrRomTab [default False] CHR-ROMタブで開いた画像ファイルからパレットを読み込むかを設定する。 EnableEditorForReadOnlyFile [default False] 読み込み専用のパレットファイルでも編集を許可する。許可しない場合は別ファイルに保存して編集します。固定パレットを使うゲームのテンプレートを公開する場合、ファイルを編集禁止にすることで誤操作が減ります。 固定パレットのゲームのテンプレートファイルを公開する場合、編集禁止にした方が誤操作を減らせるかもしれません。 Grid GridStyle [default 4] バンクビュー(バンク表示)と エディタビュー(編集領域)のグリッドの種類を設定する。 メインウィンドウの画面下のツールバーでも設定できます。 グリッドの線の種類を指定します。 GridBankVisible [default True] バンクビュー(バンク表示)の グリッドを表示するか設定する。 メインウィンドウの画面下のツールバーでも設定できます。 グリッドの線の表示有無を指定します。 GridEditVisible [default True] エディタビュー(編集領域)の グリッドを表示するか設定する。 メインウィンドウの画面下のツールバーでも設定できます。 グリッドの線の表示有無を指定します。 GridBankColor1 [default .Color(0x80, 0xFF, 0xFF, 0xFF)] バンクビュー(バンク表示)の グリッド1の色を設定する。 グリッドの線の色を指定します。 色にはARGBを指定することで、透過色が使えます。 GridBankColor2 [default .Color(0x20, 0xFF, 0xFF, 0xFF)] バンクビュー(バンク表示)の グリッド2の色を設定する。 GridEditColor1 [default .Color(0x80, 0xFF, 0xFF, 0xFF)] エディタビュー(編集領域)の グリッド1の色を設定する。 GridEditColor2 [default .Color(0x20, 0xFF, 0xFF, 0xFF)] エディタビュー(編集領域)の グリッド2の色を設定する。 EditingRectColor [default .Color(0xFF, 0x80, 0xFF, 0xFF)] エディタビュー(編集領域)で 範囲指定するペンを使うときの 範囲の枠の色を設定する。 ペンが始点・終点を指定するタイプの時に、その領域を表示する線の色を指定します Option OptionSaveWindowPosition [default False] ウィンドウの位置を保存する。 OptionSavedWindowPosition [default .Point(0,0)] ウィンドウの位置。 OptionShowTitleAddress [default True] ウィンドウのタイトルにアドレスを表示する。 OptionShowAllMenu [default False] すべてのメニューを表示する。 無効な場合、ツールバーと重複したり一般的でないメニュー項目は隠される。 Trueにするとすべてのメニューを表示します。 False(デフォルト)にすると、ペンやアドレスなど、一般的にキーボードやツールバーでの操作が想定される項目を隠してメニューの操作性を上げます。 OptionShowToolbarAsButton [default False] ツールバーをクラシックなスタイルのボタンで表示する。 一部のWindowsでは正しく表示できない可能性がある。 クラシックなWindowsのツールバーのような表示にします。 ツールバーのフラットボタンがボタンで表示されます。 ただしWindowsのバージョンによってはうまく表示できないかもしれません。 CheckFont [default True] インストールされたフォントをチェックする。 GUIフォントが存在しない場合、YY-CHRが英語モードで起動する。 LinuxかMacのwine環境では[true]を設定してください。 CheckKeyOnActivated [default True] YY-CHRがアクティブになったときにCtrl/Alt/Shiftキーをチェックする。YY-CHRがタスクバーから復帰できないときはこの値を[false]にしてください。 Control EditorMouseWheel [default 1] エディタのマウスホイールの機能。 EditorMouseWheelCtrl [default 3] エディタのCtrl+マウスホイールの機能。 EditorMouseWheelShift [default 2] エディタのShift+マウスホイールの機能。 EditorMouseWheelAlt [default 0] エディタのAlt+マウスホイールの機能。 EnableRightClickMenu [default False] バンクビュー(バンク表示)で 右クリックメニューを有効にする。 右クリックメニューを表示します。 他のWindowsアプリと同様の操作を求める場合にTrueを設定するといいかもしれません。 ただし、YY-CHRは右ドラッグなども常用するので、False(デフォルト)のままにするのがおススメです。 BankWheelScrollRate [default 4] バンクビュー(バンク表示)のマウスホイールのスクロール量を設定する。 Dialog ShowSaveModifiedDialog [default True] 変更したファイルを保存せずに閉じようとしたときに、処理を継続するかを確認するダイアログを表示する。 誤操作でファイルを閉じて時間をかけたデータが消えてしまわないようにする対策です。 Trueにした場合、YY-CHRで開いているファイルを変更した場合に、保存せずにファイルを閉じようとすると変更を破棄して閉じるかの確認ダイアログを出します。 終了をキャンセルして保存するか、終了を確定するかを選べます。 はい:上書き保存、いいえ:保存せずに閉じる、キャンセル:処理をキャンセルする ShowReloadExternalChangeDialog [default True] 開いているファイルをYY-CHR以外で変更したとき、YY-CHRでファイルを再読み込みするか確認するダイアログを表示する。 再読み込みしない場合はYY-CHRで保存したときに外部ツールでの変更が上書きされてしまう。 ファイルの整合性が失われないようにする対策です。 Trueにした場合、YY-CHRで編集中のファイルが外部のアプリケーションで変更されたときに、YY-CHRでファイルを読み直すかの選択をするダイアログが表示されます。 外部アプリでファイルを変更したのに、YY-CHRがその変更を反映していない(読み込んでない)状態で上書き保存すると、外部アプリでの変更が失われます。 それを防ぐために、開いているファイルに変更があった場合に、すぐに再読み込みして反映するかの確認をします。 ShowLoadImageCutoffDialog [default True] CHR-ROMタブで画像ファイルを開いたとき、範囲外を切り捨てたことをダイアログで表示する。 View GuiSizeRateIndex [default 0] GUIのサイズを設定する。 (設定値はメイン画面のコンボボックスのインデックス) メインウィンドウの左下のコンボボックスでも設定できます。 設定値はGUIの倍率をコンボボックスのインデックスで指定します。(x2=0、x3=1、x4=2) バンク、編集領域、パレットのコントロールのサイズがX倍になり、高解像度・高DPI環境での表示・編集の操作性が改善します。 EditRectSize [default .Size(32, 32)] エディタの領域のサイズ。 [ピクセル] メイン画面の左下から設定可能。 メインウィンドウの左下のコンボボックスでも設定できます。 編集領域のサイズを指定します。 DefaultPaletteRowNum [default 8] ウィンドウサイズが小さい場合のパレットの表示行数。8以上を指定する場合、表示のためにウィンドウサイズを拡大する。(適正値 8または16)
https://w.atwiki.jp/taritari/pages/17.html
ここに書いてある攻略情報は体験版までです。 - タリ 2008-10-21 15 18 02 攻略乙~ - 霧 2008-10-21 17 01 08 攻略助かります。 - パンダココ 2008-10-22 17 40 15 ついに完成版攻略ですか!!助かります。 - パンダココ 2008-11-13 15 29 13
https://w.atwiki.jp/api_programming/pages/235.html
https //llamalab.com/automate/doc/block/dialog_choice.html Dialog choice A decision block that lets the user select from a list of choices. The fiber will pause until the user has made a choice, cancelled the dialog or the timeout expired. If an array is set as choices, then its elements are used as labels. If a dictionary is set, then the values are used as labels. A number or text is used as the label for a single choice. If null, the no choices will be shown. The sift function can be used to filter the choices. Note! 選択された index/key は、「一つだけ選択」にした場合でも array として返ってくる。そのため、値を用いるには、selected[0] や choices[selected[0]] とする。 Input arguments Title ダイアログに表示されるタイトル Choices possible choices, show as a list. Pre-select デフォルトで選択されている index or keydefault none. Multi-select — whether to allow selection of multiple choices, default is false. No selection — whether to allow no selection, only applicable for multiple choice. Sort — whether the displayed choices should be sorted in alphabetical order. Timeout — time until the notification/dialog is automatically canceled, default is no timeout. Notification channel — UUID of notification channel used for shown notification, default is the flow default or Flow. Show window — whether to show the dialog window directly without having to tap the notification. Only works when no other window is showing. Output variables Selected indices/keys — variable to assign an array with the selected indices/keys.
https://w.atwiki.jp/eccube213/pages/17.html
/data/Smarty/templates/ URL ユーザ画面 default/abouts/index.tpl http //localhost/abouts/ default/cart/index.tpl http //localhost/cart/ default/guide/privacy.tpl http //localhost/guide/privacy.php default/index.tpl http //localhost/ default/input_zip.tpl default/order/index.tpl http //localhost/order/ default/regist/complete.tpl default/site_main.tpl contact default/contact/complete.tpl default/contact/confirm.tpl default/contact/index.tpl http //localhost/contact/index.php entry default/entry/complete.tpl default/entry/confirm.tpl default/entry/index.tpl default/entry/kiyaku.tpl http //localhost/entry/kiyaku.php forgot default/forgot/complete.tpl default/forgot/index.tpl http //localhost/forgot/ default/forgot/secret.tpl rss default/rss/index.tpl default/rss/products.tpl mail default/mail_templates/contact_mail.tpl default/mail_templates/customer_mail.tpl default/mail_templates/customer_regist_mail.tpl default/mail_templates/forgot_mail.tpl default/mail_templates/mail_title.tpl default/mail_templates/order_mail.tpl default/mail_templates/remise_order_cancel_mail.tpl default/mail_templates/remise_receipt_mail.tpl mypage default/mypage/change.tpl http //localhost/mypage/change.php default/mypage/change_complete.tpl default/mypage/change_confirm.tpl default/mypage/delivery.tpl http //localhost/mypage/delivery.php default/mypage/delivery_addr.tpl default/mypage/error.tpl default/mypage/favorite.tpl http //localhost/mypage/favorite.php default/mypage/history.tpl default/mypage/index.tpl http //localhost/mypage/ default/mypage/login.tpl default/mypage/mail_view.tpl http //localhost/mypage/mail_view.php?send_id=1 default/mypage/navi.tpl default/mypage/refusal.tpl http //localhost/mypage/refusal.php default/mypage/refusal_complete.tpl default/mypage/refusal_confirm.tpl popup default/popup_footer.tpl default/popup_header.tpl product default/products/detail.tpl http //localhost/products/detail.php?product_id=1 default/products/list.tpl http //localhost/products/list.php?category_id=1 default/products/review.tpl http //localhost/products/review.php?product_id=1 default/products/review_complete.tpl default/products/review_confirm.tpl shopping default/shopping/complete.tpl default/shopping/confirm.tpl default/shopping/deliv.tpl http //localhost/shopping/deliv.php default/shopping/index.tpl default/shopping/multiple.tpl http //localhost/shopping/multiple.php default/shopping/nonmember_input.tpl default/shopping/payment.tpl http //localhost/shopping/payment.php user_data default/user_data/beginner.tpl http //localhost/user_data/beginner.php default/user_data/category.tpl http //localhost/user_data/category.php default/user_data/guide_point.tpl http //localhost/user_data/guide_point.php default/user_data/hikick_upload/upload_frame.tpl http //localhost/user_data/hikick_upload/upload_frame.php default/user_data/sitemap.tpl http //localhost/user_data/sitemap.php frontparts default/frontparts/bloc/banner.tpl default/frontparts/bloc/beginner.tpl default/frontparts/bloc/calendar.tpl default/frontparts/bloc/cart.tpl default/frontparts/bloc/category.tpl default/frontparts/bloc/contents.tpl default/frontparts/bloc/date_nyukou.tpl default/frontparts/bloc/designorder.tpl default/frontparts/bloc/facebook_likebox.tpl default/frontparts/bloc/fax.tpl default/frontparts/bloc/footer_bottom.tpl default/frontparts/bloc/footer_top.tpl default/frontparts/bloc/googleplus.tpl default/frontparts/bloc/guide.tpl default/frontparts/bloc/head.tpl default/frontparts/bloc/header_bottom.tpl default/frontparts/bloc/header_inner.tpl default/frontparts/bloc/header_top.tpl default/frontparts/bloc/hikickblog.tpl default/frontparts/bloc/left.tpl default/frontparts/bloc/login.tpl default/frontparts/bloc/login_header.tpl default/frontparts/bloc/lpbanner.tpl default/frontparts/bloc/main_bottom.tpl default/frontparts/bloc/main_top.tpl default/frontparts/bloc/news.tpl default/frontparts/bloc/payment.tpl default/frontparts/bloc/printname.tpl default/frontparts/bloc/recommend.tpl default/frontparts/bloc/right.tpl default/frontparts/bloc/search_products.tpl default/frontparts/bloc/sekisan.tpl default/frontparts/bloc/twitter.tpl default/frontparts/bloc/visit.tpl default/frontparts/form_personal_confirm.tpl default/frontparts/form_personal_input.tpl default/frontparts/search_zero.tpl 管理画面 admin/admin_popup_footer.tpl admin/admin_popup_header.tpl admin/adminparts/form_customer_search.tpl admin/css/contents.tpl admin/home.tpl http //localhost/admin/home.php admin/login.tpl http //localhost/admin/ admin/login_error.tpl admin/login_frame.tpl admin/pager.tpl admin/main_frame.tpl basis admin/basis/confirm.tpl admin/basis/delivery.tpl http //localhost/admin/basis/delivery.php admin/basis/delivery_input.tpl http //localhost/admin/basis/delivery_input.php admin/basis/holiday.tpl http //localhost/admin/basis/holiday.php admin/basis/index.tpl http //localhost/admin/basis/ admin/basis/kiyaku.tpl http //localhost/admin/basis/kiyaku.php admin/basis/mail.tpl http //localhost/admin/basis/mail.php admin/basis/payment.tpl http //localhost/admin/basis/payment.php admin/basis/payment_input.tpl http //localhost/admin/basis/payment_input.php admin/basis/point.tpl http //localhost/admin/basis/point.php admin/basis/subnavi.tpl admin/basis/tax.tpl http //localhost/admin/basis/tax.php admin/basis/tradelaw.tpl http //localhost/admin/basis/tradelaw.php admin/basis/zip_install.tpl http //localhost/admin/basis/zip_install.php contents admin/contents/csv.tpl http //localhost/admin/contents/csv.php?tpl_subno_csv=category admin/contents/csv_sql.tpl http //localhost/admin/contents/csv_sql.php admin/contents/csv_sql_view.tpl admin/contents/file_manager.tpl http //localhost/admin/contents/file_manager.php admin/contents/index.tpl http //localhost/admin/contents/ admin/contents/recommend.tpl http //localhost/admin/contents/recommend.php admin/contents/recommend_search.tpl http //localhost/admin/contents/recommend_search.php admin/contents/subnavi.tpl customer admin/customer/edit.tpl http //localhost/admin/customer/edit.php admin/customer/edit_complete.tpl admin/customer/edit_confirm.tpl admin/customer/index.tpl http //localhost/admin/customer/ admin/customer/search_customer.tpl admin/customer/subnavi.tpl design admin/design/bloc.tpl http //localhost/admin/design/bloc.php?device_type_id=1 admin/design/css.tpl http //localhost/admin/design/css.php?device_type_id=1 admin/design/header.tpl http //localhost/admin/design/header.php?device_type_id=1 admin/design/index.tpl http //localhost/admin/design/?device_type_id=1 admin/design/main_edit.tpl http //localhost/admin/design/main_edit.php?device_type_id=1 admin/design/subnavi.tpl admin/design/template.tpl http //localhost/admin/design/template.php?device_type_id=1 admin/design/up_down.tpl http //localhost/admin/design/up_down.php?device_type_id=1 mail admin/mail/history.tpl http //localhost/admin/mail/history.php admin/mail/index.tpl http //localhost/admin/mail/ admin/mail/input.tpl admin/mail/input_confirm.tpl admin/mail/preview.tpl admin/mail/query.tpl admin/mail/subnavi.tpl admin/mail/template.tpl http //localhost/admin/mail/template.php admin/mail/template_complete.tpl admin/mail/template_input.tpl http //localhost/admin/mail/template_input.php order admin/order/disp.tpl http //localhost/admin/order/disp.php?order_id=646 admin/order/edit.tpl http //localhost/admin/order/edit.php admin/order/index.tpl http //localhost/admin/order/ admin/order/mail.tpl http //localhost/admin/order/mail.php admin/order/mail_confirm.tpl admin/order/mail_view.tpl admin/order/multiple.tpl admin/order/pdf_input.tpl http //localhost/admin/order/pdf.php?order_id=1 admin/order/product_select.tpl admin/order/status.tpl http //localhost/admin/order/status.php admin/order/subnavi.tpl ownersstore admin/ownersstore/log.tpl http //localhost/admin/ownersstore/log.php admin/ownersstore/log_detail.tpl admin/ownersstore/module.tpl http //localhost/admin/ownersstore/module.php admin/ownersstore/plugin.tpl admin/ownersstore/plugin_hookpoint_list.tpl http //localhost/admin/ownersstore/plugin_hookpoint_list.php admin/ownersstore/products_list.tpl admin/ownersstore/settings.tpl http //localhost/admin/ownersstore/settings.php admin/ownersstore/subnavi.tpl http //localhost/admin/ownersstore/ pdf admin/pdf/logo.png admin/pdf/nouhinsyo1.pdf products admin/products/category.tpl http //localhost/admin/products/category.php admin/products/category_tree_fork.tpl admin/products/class.tpl http //localhost/admin/products/class.php admin/products/classcategory.tpl admin/products/complete.tpl admin/products/confirm.tpl admin/products/index.tpl http //localhost/admin/products/ admin/products/maker.tpl http //localhost/admin/products/maker.php admin/products/product.tpl http //localhost/admin/products/product.php admin/products/product_class.tpl http //localhost/admin/products/classcategory.php?class_id=10 admin/products/product_class_complete.tpl admin/products/product_class_confirm.tpl admin/products/product_rank.tpl http //localhost/admin/products/product_rank.php admin/products/product_rank_tree_fork.tpl admin/products/product_select.tpl admin/products/review.tpl http //localhost/admin/products/review.php admin/products/review_edit.tpl admin/products/subnavi.tpl admin/products/upload_csv.tpl http //localhost/admin/products/upload_csv.php admin/products/upload_csv_category.tpl http //localhost/admin/products/upload_csv_category.php admin/products/upload_csv_category_complete.tpl admin/products/upload_csv_complete.tpl system admin/system/adminarea.tpl admin/system/bkup.tpl http //localhost/admin/system/bkup.php admin/system/editdb.tpl http //localhost/admin/system/editdb.php admin/system/index.tpl http //localhost/admin/system/ admin/system/input.tpl http //localhost/admin/system/input.php?id=2 pageno=1 admin/system/log.tpl http //localhost/admin/system/log.php admin/system/masterdata.tpl http //localhost/admin/system/masterdata.php admin/system/parameter.tpl http //localhost/admin/system/parameter.php admin/system/subnavi.tpl admin/system/system.tpl http //localhost/admin/system/system.php total admin/total/index.tpl http //localhost/admin/total/?page=age admin/total/page_age.tpl admin/total/page_job.tpl admin/total/page_member.tpl admin/total/page_products.tpl admin/total/page_term.tpl admin/total/subnavi.tpl admin/total/subtitle.tpl
https://w.atwiki.jp/bplib/pages/1112.html
出荷検品 public activity 作成日 2008/05/06 20 33 10 更新日 2008/05/06 20 33 14 プロジェクト 作者 bpml.org バージョン 1.0 フェーズ 1.0 状態 設計中 複雑度 簡単 追加情報 GUID {FDEBA36A-C540-46bc-84A9-7AB2C85550D1} ダイアグラム 通過仕分け フロー ターゲット フロー ソース タグ付き値 追加プロパティ 要素 名前 搭載 Activity «SequenceFlow» 詳細 要素 名前 梱包 Activity «SequenceFlow» 詳細 タグ 値 詳細 ActivityType Task Values Task,Sub-Process Default Task AdHoc false Values true,false Default false AdHocOrdering Parallel Values Sequential,Parallel Default Parallel Implementation Unspecified Values Other,Web Service,Unspecified Default Unspecified Instantiate false Values true,false Default false IsATransaction false Values true,false Default false IsCompensation false Values true,false Default false LoopTestTime After Values Before,After Default After LoopType None Values None,Standard,MultiInstance Default None MI_FlowCondition All Values None,All,One,Complex Default All MI_Ordering Sequential Values Sequential,Parallel Default Sequential StartQuantity 1 Default 1 Status None Values None,Active,Ready,Aborting,Cancelled,Aborted,Completing,Completed Default None SubProcessType Embedded Values Embedded,Independent,Reference Default Embedded TaskType None Values Service,Receive,Send,Script,User,Manual,Reference,None Default None プロパティ 値 isReadOnly false 名前 コメント
https://w.atwiki.jp/macoto_mayu/pages/15.html
?php // PukiWiki - Yet another WikiWikiWeb clone // $Id pukiwiki.ini.php,v 1.140 2006/06/11 14 35 39 henoheno Exp $ // Copyright (C) // 2002-2006 PukiWiki Developers Team // 2001-2002 Originally written by yu-ji // License GPL v2 or (at your option) any later version // // PukiWiki main setting file ///////////////////////////////////////////////// // Functionality settings // PKWK_OPTIMISE - Ignore verbose but understandable checking and warning // If you end testing this PukiWiki, set 1 . // If you feel in trouble about this PukiWiki, set 0 . if (! defined( PKWK_OPTIMISE )) define( PKWK_OPTIMISE , 0); ///////////////////////////////////////////////// // Security settings // PKWK_READONLY - Prohibits editing and maintain via WWW // NOTE Counter-related functions will work now (counter, attach count, etc) if (! defined( PKWK_READONLY )) define( PKWK_READONLY , 0); // 0 or 1 // PKWK_SAFE_MODE - Prohibits some unsafe(but compatible) functions if (! defined( PKWK_SAFE_MODE )) define( PKWK_SAFE_MODE , 1); //define( PKWK_SAFE_MODE , 0); // PKWK_DISABLE_INLINE_IMAGE_FROM_URI - Disallow using inline-image-tag for URIs // Inline-image-tag for URIs may allow leakage of Wiki readers information // (in short, Web bug ) or external malicious CGI (looks like an image s URL) // attack to Wiki readers, but easy way to show images. if (! defined( PKWK_DISABLE_INLINE_IMAGE_FROM_URI )) define( PKWK_DISABLE_INLINE_IMAGE_FROM_URI , 1); //define( PKWK_DISABLE_INLINE_IMAGE_FROM_URI , 0); // PKWK_QUERY_STRING_MAX // Max length of GET method, prohibits some worm attack ASAP // NOTE Keep (page-name + attach-file-name) = PKWK_QUERY_STRING_MAX define( PKWK_QUERY_STRING_MAX , 1024); // Bytes, 0 = OFF // define( PKWK_QUERY_STRING_MAX , 640); // Bytes, 0 = OFF ///////////////////////////////////////////////// // Experimental features // Multiline plugin hack (See BugTrack2/84) // EXAMPLE(with a known BUG) // #plugin(args1,args2,...,argsN){{ // argsN+1 // argsN+1 // #memo(foo) // argsN+1 // }} // #memo(This makes #memo(foo) to this) // define( PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK , 1); // 1 = Disabled define( PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK ,0); // 1 = Disabled ///////////////////////////////////////////////// // Language / Encoding settings // LANG - Internal content encoding ( en , ja , or ...) define( LANG , ja ); // UI_LANG - Content encoding for buttons, menus, etc define( UI_LANG , LANG); // en for Internationalized wikisite ///////////////////////////////////////////////// // Directory settings I (ended with / , permission 777 ) // You may hide these directories (from web browsers) // by setting DATA_HOME at index.php. define( DATA_DIR , DATA_HOME . wiki/ ); // Latest wiki texts define( DIFF_DIR , DATA_HOME . diff/ ); // Latest diffs define( BACKUP_DIR , DATA_HOME . backup/ ); // Backups define( CACHE_DIR , DATA_HOME . cache/ ); // Some sort of caches define( UPLOAD_DIR , DATA_HOME . attach/ ); // Attached files and logs define( COUNTER_DIR , DATA_HOME . counter/ ); // Counter plugin s counts define( TRACKBACK_DIR , DATA_HOME . trackback/ ); // TrackBack logs define( PLUGIN_DIR , DATA_HOME . plugin/ ); // Plugin directory // 20070716 Spam_Filter /////////////////////////////////////////////// //define( SPAM_FILTER_COND , #useragent() or #filename() or #atag() or #ngreg() or (#onlyeng() and (#urlnum() or #uaunknown())) or #urlbl() ); define( SPAM_FILTER_COND , #ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or #onlyeng() or (#urlnum() and #uaunknown()) ); //define( SPAM_FILTER_COND , #ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or (#onlyeng() and (#urlnum() or #uaunknown())) or #urlbl() or #ipbl() ); define( PLUGIN_REF_URL_GET_IMAGE_SIZE , FALSE); define( SPAM_FILTER_ATAG_REG , /\[HTTP | \/a |\[\/url\]/i ); ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Directory settings II (ended with / ) // Skins / Stylesheets define( SKIN_DIR , skin/ ); // Skin files (SKIN_DIR/*.skin.php) are needed at // ./DATAHOME/SKIN_DIR from index.php, but // CSSs(*.css) and JavaScripts(*.js) are needed at // ./SKIN_DIR from index.php. // Static image files define( IMAGE_DIR , image/ ); // Keep this directory shown via web browsers like // ./IMAGE_DIR from index.php. ///////////////////////////////////////////////// // Local time setting switch (LANG) { // or specifiy one case ja define( ZONE , JST ); define( ZONETIME , 9 * 3600); // JST = GMT + 9 break; default define( ZONE , GMT ); define( ZONETIME , 0); break; } ///////////////////////////////////////////////// // Title of your Wikisite (Name this) // Also used as RSS feed s channel name etc $page_title = Belle Isle Wiki ; // Specify PukiWiki URL (default auto) $script = http //example.com/pukiwiki/ ; // Shorten $script Cut its file name (default not cut) //$script_directory_index = index.php ; $script_directory_index = index.php ; // Site admin s name (CHANGE THIS) $modifier = MonMon ; // Site admin s Web page (CHANGE THIS) $modifierlink = http //example.com/pukiwiki/ ; // Default page name // $defaultpage = FrontPage ; // Top / Default page $defaultpage = Belle Isle Wiki ; // Top / Default page $whatsnew = RecentChanges ; // Modified page list $whatsdeleted = RecentDeleted ; // Removeed page list $interwiki = InterWikiName ; // Set InterWiki definition here $menubar = MenuBar ; // Menu ///////////////////////////////////////////////// // Change default Document Type Definition // Some web browser s bug, and / or Java apprets may needs not-Strict DTD. // Some plugin (e.g. paint) set this PKWK_DTD_XHTML_1_0_TRANSITIONAL. //$pkwk_dtd = PKWK_DTD_XHTML_1_1; // Default //$pkwk_dtd = PKWK_DTD_XHTML_1_0_STRICT; //$pkwk_dtd = PKWK_DTD_XHTML_1_0_TRANSITIONAL; //$pkwk_dtd = PKWK_DTD_HTML_4_01_STRICT; //$pkwk_dtd = PKWK_DTD_HTML_4_01_TRANSITIONAL; ///////////////////////////////////////////////// // Always output "nofollow,noindex" attribute $nofollow = 0; // 1 = Try hiding from search engines ///////////////////////////////////////////////// // PKWK_ALLOW_JAVASCRIPT - Allow / Prohibit using JavaScript //define( PKWK_ALLOW_JAVASCRIPT , 0); define( PKWK_ALLOW_JAVASCRIPT , 1); ///////////////////////////////////////////////// // TrackBack feature // Enable Trackback $trackback = 0; // Show trackbacks with an another window (using JavaScript) $trackback_javascript = 0; ///////////////////////////////////////////////// // Bodycache feature // enable bodycache or not // default true $enable_bodycache = true; // use bodycache as default. If it s false, // #bodycache(enable) is required per page. // default true $enable_bodycache_default = true; // If these (block) plugins are contained in page, bodycache will be disabled. // Users can increase this plugin list to control bodycache. // default array( ls2 , pcomment , include ); // $bodycache_disable_plugins = array( ls2 , pcomment , include ); // $bodycache_disable_plugins = array( ls2 , pcomment , include , sitesearch , table_edit , article ); $bodycache_disable_plugins = array( ls2 , areaedit ); ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Referer list feature $referer = 0; ///////////////////////////////////////////////// // _Disable_ WikiName auto-linking // $nowikiname = 0; $nowikiname = 1; ///////////////////////////////////////////////// // AutoLink feature // AutoLink minimum length of page name $autolink = 0; // Bytes, 0 = OFF (try 8) ///////////////////////////////////////////////// // Enable Freeze / Unfreeze feature $function_freeze = 1; ///////////////////////////////////////////////// // Allow to use Do not change timestamp checkbox // (0 Disable, 1 For everyone, 2 Only for the administrator) // $notimeupdate = 1; $notimeupdate = 0; ///////////////////////////////////////////////// // Admin password for this Wikisite // Default always fail $adminpass = {x-php-md5}! ; // Sample //$adminpass = pass ; // Cleartext //$adminpass = {x-php-md5}1a1dc91c907325c69271ddf0c944bc72 ; // PHP md5() pass //$adminpass = {CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/ ; // LDAP CRYPT pass //$adminpass = {MD5}Gh3JHJBzJcaScd3wyUS8cg== ; // LDAP MD5 pass //$adminpass = {SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx ; // LDAP SMD5 pass ///////////////////////////////////////////////// // Page-reading feature settings // (Automatically creating pronounce datas, for Kanji-included page names, // to show sorted page-list correctly) // Enable page-reading feature by calling ChaSen or KAKASHI command // (1 Enable, 0 Disable) $pagereading_enable = 0; // Specify converter as ChaSen( chasen ) or KAKASI( kakasi ) or None( none ) $pagereading_kanji2kana_converter = none ; // Specify Kanji encoding to pass data between PukiWiki and the converter $pagereading_kanji2kana_encoding = EUC ; // Default for Unix //$pagereading_kanji2kana_encoding = SJIS ; // Default for Windows // Absolute path of the converter (ChaSen) $pagereading_chasen_path = /usr/local/bin/chasen ; //$pagereading_chasen_path = c \progra~1\chasen21\chasen.exe ; // Absolute path of the converter (KAKASI) $pagereading_kakasi_path = /usr/local/bin/kakasi ; //$pagereading_kakasi_path = c \kakasi\bin\kakasi.exe ; // Page name contains pronounce data (written by the converter) $pagereading_config_page = config/PageReading ; // Page name of default pronouncing dictionary, used when converter = none $pagereading_config_dict = config/PageReading/dict ; ///////////////////////////////////////////////// // User definition $auth_users = array( // Username = password foo = foo_passwd , // Cleartext bar = {x-php-md5}f53ae779077e987718cc285b14dfbe86 , // PHP md5() bar_passwd hoge = {SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx , // LDAP SMD5 hoge_passwd ); ///////////////////////////////////////////////// // Authentication method $auth_method_type= pagename ;// By Page name //$auth_method_type= contents ;// By Page contents ///////////////////////////////////////////////// // Read auth (0 Disable, 1 Enable) $read_auth = 0; $read_auth_pages = array( // Regex Username #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); ///////////////////////////////////////////////// // Edit auth (0 Disable, 1 Enable) $edit_auth = 0; $edit_auth_pages = array( // Regex Username #BarDiary# = bar , #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); ///////////////////////////////////////////////// // Search auth // 0 Disabled (Search read-prohibited page contents) // 1 Enabled (Search only permitted pages for the user) $search_auth = 0; ///////////////////////////////////////////////// // $whatsnew Max number of RecentChanges $maxshow = 60; // $whatsdeleted Max number of RecentDeleted // (0 = Disabled) $maxshow_deleted = 60; ///////////////////////////////////////////////// // Page names can t be edit via PukiWiki $cantedit = array( $whatsnew, $whatsdeleted ); ///////////////////////////////////////////////// // HTTP Output Last-Modified header // $lastmod = 0; $lastmod = 1; ///////////////////////////////////////////////// // Date format $date_format = Y-m-d ; // Time format $time_format = H i s ; ///////////////////////////////////////////////// // Max number of RSS feed $rss_max = 15; ///////////////////////////////////////////////// // Backup related settings // Enable backup $do_backup = 1; // When a page had been removed, remove its backup too? $del_backup = 0; // Bacukp interval and generation $cycle = 0; // Wait N hours between backup (0 = no wait) $maxage = 50; // Stock latest N backups // NOTE $cycle x $maxage / 24 = Minimum days to lost your data // 3 x 120 / 24 = 15 // Splitter of backup data (NOTE Too dangerous to change) define( PKWK_SPLITTER , ); ///////////////////////////////////////////////// // Command execution per update define( PKWK_UPDATE_EXEC , ); // Sample Namazu (Search engine) //$target = /var/www/wiki/ ; //$mknmz = /usr/bin/mknmz ; //$output_dir = /var/lib/namazu/index/ ; //define( PKWK_UPDATE_EXEC , //$mknmz . --media-type=text/pukiwiki . // -O . $output_dir . -L ja -c -K . $target); ///////////////////////////////////////////////// // HTTP proxy setting (for TrackBack etc) // Use HTTP proxy server to get remote data $use_proxy = 0; $proxy_host = proxy.example.com ; $proxy_port = 8080; // Do Basic authentication $need_proxy_auth = 0; $proxy_auth_user = username ; $proxy_auth_pass = password ; // Hosts that proxy server will not be needed $no_proxy = array( localhost ,// localhost 127.0.0.0/8 ,// loopback // 10.0.0.0/8 // private class A // 172.16.0.0/12 // private class B // 192.168.0.0/16 // private class C // no-proxy.com , ); //////////////////////////////////////////////// // Mail related settings // Send mail per update of pages $notify = 0; // Send diff only $notify_diff_only = 1; // SMTP server (Windows only. Usually specified at php.ini) $smtp_server = localhost ; // Mail recipient (To ) and sender (From ) $notify_to = to@example.com ;// To $notify_from = from@example.com ;// From // Subject ($page = Page name wll be replaced) $notify_subject = [PukiWiki] $page ; // Mail header // NOTE Multiple items must be divided by "\r\n", not "\n". $notify_header = ; ///////////////////////////////////////////////// // Mail POP / APOP Before SMTP // Do POP/APOP authentication before send mail $smtp_auth = 0; $pop_server = localhost ; $pop_port = 110; $pop_userid = ; $pop_passwd = ; // Use APOP instead of POP (If server uses) // Default = Auto (Use APOP if possible) // 1 = Always use APOP // 0 = Always use POP // $pop_auth_use_apop = 1; ///////////////////////////////////////////////// // Ignore list // Regex of ignore pages $non_list = ^\ ; // Search ignored pages $search_non_list = 1; ///////////////////////////////////////////////// // Template setting $auto_template_func = 1; $auto_template_rules = array( ((.+)\/([^\/]+)) = \2/template ); ///////////////////////////////////////////////// // Automatically add fixed heading anchor $fixed_heading_anchor = 1; ///////////////////////////////////////////////// // 見出しごとの編集を可能にする // (固有のアンカーが挿入されている見出し行にのみ有効) $fixed_heading_anchor_edit = 1; ///////////////////////////////////////////////// // Remove the first spaces from Preformatted text $preformat_ltrim = 1; ///////////////////////////////////////////////// // Convert linebreaks into br / $line_break = 0; ///////////////////////////////////////////////// // Use date-time rules (See rules.ini.php) $usedatetime = 1; ///////////////////////////////////////////////// // User-Agent settings // // If you want to ignore embedded browsers for rich-content-wikisite, // remove (or comment-out) all keitai settings. // // If you want to to ignore desktop-PC browsers for simple wikisite, // copy keitai.ini.php to default.ini.php and customize it. $agents = array( // pattern A regular-expression that matches device(browser) s name and version // profile A group of browsers // Embedded browsers (Rich-clients for PukiWiki) // Windows CE (Microsoft(R) Internet Explorer 5.5 for Windows(R) CE) // Sample "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC) array( pattern = #\b(? MSIE [5-9]).*\b(Windows CE)\b# , profile = default ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM, expects to be "Mozilla/4.0" // Sample "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0" (PlayStation BB Navigator, for SONY PlayStation 2) // Sample "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision 1.1.19) NetFront/3.0" (SONY Clie series) // Sample "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (SHARP Zaurus) array( pattern = #^(? Mozilla/4).*\b(NetFront)/([0-9\.]+)# , profile = default ), // Embedded browsers (Non-rich) // Windows CE (the others) // Sample "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320 )" (GFORT, NTT DoCoMo) array( pattern = #\b(Windows CE)\b# , profile = keitai ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM // Sample "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2) // Sample "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket AirH" Phone by JRC) array( pattern = #\b(NetFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(CNF)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AveFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AVE-Front)/([0-9\.]+)# , profile = keitai ), // The same? // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones // Sample "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c以降は可変 // Sample "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()の中は可変 array( pattern = #^(DoCoMo)/([0-9\.]+)# , profile = keitai ), // Vodafone s embedded browser // Sample "J-PHONE/2.0/J-T03"// 2.0は"ブラウザの"バージョン // Sample "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0" array( pattern = #^(J-PHONE)/([0-9\.]+)# , profile = keitai ), // Openwave(R) Mobile Browser (EZweb, WAP phone, etc) // Sample "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0" array( pattern = #\b(UP\.Browser)/([0-9\.]+)# , profile = keitai ), // Opera, dressing up as other embedded browsers // Sample "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at keitai -mode) array( pattern = #\b(? DDIPOCKET|WILLCOM)\b.+\b(Opera) ([0-9\.]+)\b# , profile = keitai ), // Planetweb http //www.planetweb.com/ // Sample "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2) array( pattern = #\b(Planetweb)/v([0-9\.]+)# , profile = keitai ), // DreamPassport, Web browser for SEGA DreamCast // Sample "Mozilla/3.0 (DreamPassport/3.0)" array( pattern = #\b(DreamPassport)/([0-9\.]+)# , profile = keitai ), // Palm "Web Pro" http //www.palmone.com/us/support/accessories/webpro/ // Sample "Mozilla/4.76 [en] (PalmOS; U; WebPro)" array( pattern = #\b(WebPro)\b# , profile = keitai ), // ilinx "Palmscape" / "Xiino" http //www.ilinx.co.jp/ // Sample "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)" array( pattern = #^(Palmscape)/([0-9\.]+)# , profile = keitai ), array( pattern = #^(Xiino)/([0-9\.]+)# , profile = keitai ), // SHARP PDA Browser (SHARP Zaurus) // Sample "sharp pda browser/6.1[ja](MI-E1/1.0) " array( pattern = #^(sharp [a-z]+ browser)/([0-9\.]+)# , profile = keitai ), // WebTV array( pattern = #^(WebTV)/([0-9\.]+)# , profile = keitai ), // Desktop-PC browsers // Opera (for desktop PC, not embedded) -- See BugTrack/743 for detail // NOTE Keep this pattern above MSIE and Mozilla // Sample "Opera/7.0 (OS; U)" (not disguise) // Sample "Mozilla/4.0 (compatible; MSIE 5.0; OS) Opera 6.0" (disguise) array( pattern = #\b(Opera)[/ ]([0-9\.]+)\b# , profile = default ), // MSIE Microsoft Internet Explorer (or something disguised as MSIE) // Sample "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" array( pattern = #\b(MSIE) ([0-9\.]+)\b# , profile = default ), // Mozilla Firefox // NOTE Keep this pattern above Mozilla // Sample "Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv 1.7) Gecko/20040803 Firefox/0.9.3" array( pattern = #\b(Firefox)/([0-9\.]+)\b# , profile = default ), // Loose default Including something Mozilla array( pattern = #^([a-zA-z0-9 ]+)/([0-9\.]+)\b# , profile = default ), array( pattern = #^# , profile = default ),// Sentinel ); ?
https://w.atwiki.jp/sampleisbest/pages/519.html
開発環境 Microsoft Visual Studio Community 2017 実行環境 Microsoft Windows 10 Home (64-bit) プロジェクトの種類 Visual C++ / 空のプロジェクト プロジェクト名 waveloop2 参考 WAVEのマルチバッファリング ループ再生と一時停止 waveloop2.cpp // プロジェクトのプロパティ // Unicode文字セット #pragma comment(lib, "winmm") #include Windows.h #include wchar.h #include "Resource.h" #define SAMPLE_RATE 44100 #define BUFFERS 2 #define BUF_LEN 2048 // 関数プロトタイプ宣言 void Trace(LPCWSTR format, ...); INT_PTR CALLBACK MainDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); void Play(HWND hDlg); void Stop(HWND hDlg); void GenerateWaveForm(LPWAVEHDR pwh); // グローバル変数 HWAVEOUT hwo = NULL; WAVEHDR wh[BUFFERS]; BYTE waveform[BUFFERS][BUF_LEN]; bool playing = false; int phase; int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { DialogBox(hInstance, MAKEINTRESOURCE(IDD_MAINDLG), NULL, MainDlg); return 0; } void Trace(LPCWSTR format, ...) { va_list arg_ptr; WCHAR buffer[256]; va_start(arg_ptr, format); int size = _vsnwprintf_s(buffer, _TRUNCATE, format, arg_ptr); va_end(arg_ptr); OutputDebugString(buffer); } INT_PTR CALLBACK MainDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { INT_PTR ret = TRUE;// メッセージを処理した switch (message) { case MM_WOM_DONE if (playing) GenerateWaveForm((LPWAVEHDR)lParam); break; //case MM_WOM_OPEN //case MM_WOM_CLOSE case WM_COMMAND switch (LOWORD(wParam)) { case IDC_PLAY Play(hDlg); break; case IDC_STOP Stop(hDlg); break; case IDCANCEL EndDialog(hDlg, IDCANCEL); break; } break; case WM_INITDIALOG ret = TRUE;// SetFocusでフォーカスを設定した場合はFALSE break; case WM_CLOSE Stop(hDlg); ret = FALSE; break; default ret = FALSE;// メッセージを処理しなかった } return ret; } void Play(HWND hDlg) { MMRESULT mmr; Trace(L"Play()\n"); EnableWindow(GetDlgItem(hDlg, IDC_PLAY), FALSE); playing = true; WAVEFORMATEX wfx; wfx.wFormatTag = WAVE_FORMAT_PCM; wfx.nChannels = 1; wfx.nSamplesPerSec = SAMPLE_RATE; wfx.nAvgBytesPerSec = SAMPLE_RATE; wfx.nBlockAlign = 1; wfx.wBitsPerSample = 8; wfx.cbSize = 0; mmr = waveOutOpen( hwo, WAVE_MAPPER, wfx, (DWORD_PTR)hDlg, NULL, CALLBACK_WINDOW); Trace(L"waveOutOpen %u\n", mmr); phase = 0; for (int i = 0; i BUFFERS; i++) { LPWAVEHDR pwh = wh + i; pwh- lpData = (LPSTR)(waveform[i]); pwh- dwBufferLength = BUF_LEN; pwh- dwFlags = 0; mmr = waveOutPrepareHeader(hwo, pwh, sizeof WAVEHDR); Trace(L"waveOutPrepareHeader %d %u\n", i, mmr); GenerateWaveForm(pwh); } } void Stop(HWND hDlg) { Trace(L"Stop()\n"); EnableWindow(GetDlgItem(hDlg, IDC_PLAY), TRUE); playing = false; if (hwo) { MMRESULT mmr; mmr = waveOutReset(hwo); Trace(L"waveOutReset %u\n", mmr); for (int i = 0; i BUFFERS; i++) { mmr = waveOutUnprepareHeader(hwo, wh + i, sizeof WAVEHDR); Trace(L"waveOutUnprepareHeader %d %u\n", i, mmr); } mmr = waveOutClose(hwo); Trace(L"waveOutClose %u\n", mmr); hwo = NULL; } } void GenerateWaveForm(LPWAVEHDR pwh) { LPBYTE data = (LPBYTE)(pwh- lpData); for (int i = 0; i BUF_LEN; i++) { phase += 440; if (SAMPLE_RATE = phase) phase -= SAMPLE_RATE; double t = phase / (double)SAMPLE_RATE; data[i] = 128 + (t 0.5 ? 1 -1) * 10; } waveOutWrite(hwo, pwh, sizeof WAVEHDR); } Resource.h #define IDD_MAINDLG100 #define IDC_STATIC-1 #define IDC_PLAY1000 #define IDC_STOP1001 waveloop2.rc // resource script #include windows.h #include "resource.h" IDD_MAINDLG DIALOGEX 100, 100, 320, 200 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_APPWINDOW CAPTION "waveloop2" FONT 9, "MS UI Gothic" BEGIN PUSHBUTTON"Play( P)", IDC_PLAY, 10, 10, 50, 15 PUSHBUTTON"Stop( S)", IDC_STOP, 70, 10, 50, 15 END
https://w.atwiki.jp/bplib/pages/1134.html
資材出庫 public activity 作成日 2008/05/05 22 09 20 更新日 2008/05/05 23 39 12 プロジェクト 作者 bpml.org バージョン 1.0 フェーズ 1.0 状態 設計中 複雑度 簡単 追加情報 GUID {B51DD577-26E9-45a4-BCB8-677DE6FCC5F7} ダイアグラム 弁当作成 属性 操作 フロー ターゲット フロー ソース タグ付き値 追加プロパティ 属性 private String 値1 詳細 操作 public get値1() String 詳細 Sequential タグ attribute_name=値1 public set値1( newVal String, 既定値 種類 in ステレオタイプ ) void 詳細 Sequential タグ attribute_name=値1 要素 名前 下処理 Activity «SequenceFlow» 詳細 要素 名前 開始 Event «SequenceFlow» 詳細 タグ 値 詳細 ActivityType Task Values Task,Sub-Process Default Task AdHoc false Values true,false Default false AdHocOrdering Parallel Values Sequential,Parallel Default Parallel Implementation Unspecified Values Other,Web Service,Unspecified Default Unspecified Instantiate false Values true,false Default false IsATransaction false Values true,false Default false IsCompensation false Values true,false Default false LoopTestTime After Values Before,After Default After LoopType None Values None,Standard,MultiInstance Default None MI_FlowCondition All Values None,All,One,Complex Default All MI_Ordering Sequential Values Sequential,Parallel Default Sequential StartQuantity 1 Default 1 Status None Values None,Active,Ready,Aborting,Cancelled,Aborted,Completing,Completed Default None SubProcessType Embedded Values Embedded,Independent,Reference Default Embedded TaskType None Values Service,Receive,Send,Script,User,Manual,Reference,None Default None プロパティ 値 isReadOnly false 名前 コメント